//
//  TeacherModel2.m
//  ArchitectDemo
//
//  Created by 姚胜龙 on 2017/6/13.
//  Copyright © 2017年 姚胜龙. All rights reserved.
//

#import "TeacherModel2.h"
#import "DeepCopyProtocol.h"

@interface TeacherModel2()<DeepCopyProtocol>

@end

@implementation TeacherModel2

- (instancetype)initWithName:(NSString *)name
{
    self = [super init];
    if (self) {
        self.teacherName = name;
    }
    return self;
}

- (id)deepCopy {
    return [[TeacherModel2 alloc] initWithName:self.teacherName];
}

@end
